#ifndef __PTGUI_MEMORY_H__
#define __PTGUI_MEMORY_H__

void* ptgui_malloc(rt_size_t size);
void* ptgui_realloc(void *ptr, rt_size_t size);
void ptgui_free(void* ptr);

#define PTGUI_TYPE_MALLOC(type)	((type *)(ptgui_malloc(sizeof(type))))
#endif

